#pragma once

#define MAXENEMY 15

#include "Enemy.h"
#include "AnimalEnemy.h"
#include "NPC.h"
#include "Platform.h"
#include "BaseQuest.h"

class ProtectQuest : public BaseQuest{
private:
	vector<Enemy *> *EnemyList;
	vector<Platform *> *FloorList;
	vector<Platform *> *SpecialSpawnerList;

	int numOfEnemy;
	bool spawnMob;
	CCountdownTimer spawnTimer;

	void CreateEnemy(Vector3D position , Vector3D oOff);
public:
	ProtectQuest(void);
	~ProtectQuest(void);

	NPC *target;

	void InitQuest(Character *playerInfo, vector<Enemy *> *EnemyList, vector<Platform *> *FloorList, vector<Platform *> *SpecialSpawnerList, int questTimeSeconds);
	void RenderQuest(void);
	bool UpdateQuest(Vector3D offset, float elapsed);
};